package main;



public class Item {
    protected Integer hp,atk,dfc,money;
    protected int x,y;
    protected String type;
    public Item(){

    }
    public Item(String s){
        type=s;
    }

}

class Floor extends Item{
    public static String url="src/resources/floor.png";

    public Floor(int x,int y){
        this.x=x;
        this.y=y;
        this.type="Floor";
    }
}
class Wall extends Item{
      public static String url="src/resources/wall.png";
    public Wall(int x,int y){
        this.x=x;
        this.y=y;
        this.type="Wall";
    }
}
class Rock extends Item{
    public static String url="src/resources/rock.jpg";
    public Rock(int x,int y){
        this.x=x;
        this.y=y;

        this.type="Rock";
    }
}
